/*
 * File:  MadgwickAHRSupdate.h
 *
 * MATLAB Coder version            : 5.6
 * C/C++ source code generated on  : 11-Jun-2025 13:42:02
 */

#ifndef  MADGWICKAHRSUPDATE_H
#define  MADGWICKAHRSUPDATE_H

/* Include Files */
#include "kalman_type.h"
#include <stddef.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>


#ifdef __cplusplus
extern "C" {
#endif


	
/* Function Declarations */
void MadgwickAHRSupdate(float gyro[3], float acc[3], float mag[3], 
                       float beta_base, float dt, float q[4]);

int getMotionState(float gyro[3], float acc[3]);

#ifdef __cplusplus
}
#endif

#endif
/*
 * File trailer for  MadgwickAHRSupdate.h
 *
 * [EOF]
 */
